import {
   
    createRouter,
    
    //RouteComponent,
    createWebHistory, 
    createWebHashHistory,
    //RouterHistory
  } from "vue-router";

  
const routes=[
    {
        path:"",
        name:"index",
        component: () => import("@/view/index/index.vue"),
      },
      {
        path:"/NewTab",
        name:"NewTab",
        component: () => import("@/view/NewTab/index.vue"),
      },
]

const router =  createRouter({
    history:createWebHashHistory(),
    routes
  });

export default router